home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-07-17 | 8.8 KB | [TEXT/MMCC] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Jul 17 15:54:18 1995, modified Mon Jul 17 15:54:18 1995, creator 'MMCC', type ASCII, 8280 bytes "main.c" , at 0x20d8 456 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
49%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
33%
| TrID
| TTComp archive compressed (bin-4K)
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MMCC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 6d 61 69 6e 2e 63 | 00 00 00 00 00 00 00 00 |..main.c|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 20 58 00 | 00 01 c8 ac 30 70 6a ac |..... X.|....0pj.|
|00000060| 30 70 6a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |0pj.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cd 3d 00 00 |........|.....=..|
|00000080| 2f 2a 09 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 73 |/*.Appli|cation s|
|00000090| 6b 65 6c 65 74 6f 6e 20 | 62 79 20 44 65 61 6e 20 |keleton |by Dean |
|000000a0| 59 75 09 2a 2f 0d 2f 2a | 09 4d 61 69 6e 20 72 6f |Yu.*/./*|.Main ro|
|000000b0| 75 74 69 6e 65 20 61 6e | 64 20 69 6e 69 74 69 61 |utine an|d initia|
|000000c0| 6c 69 7a 61 74 69 6f 6e | 20 72 6f 75 74 69 6e 65 |lization| routine|
|000000d0| 73 09 09 09 09 09 2a 2f | 0d 0d 2f 2f 20 49 66 20 |s.....*/|..// If |
|000000e0| 74 68 65 20 69 6e 74 65 | 72 66 61 63 65 73 20 61 |the inte|rfaces a|
|000000f0| 72 65 6e 27 74 20 69 6e | 63 6c 75 64 65 64 20 79 |ren't in|cluded y|
|00000100| 65 74 2c 20 64 6f 20 74 | 68 65 20 73 74 61 6e 64 |et, do t|he stand|
|00000110| 61 72 64 20 69 6e 63 6c | 75 64 65 73 2e 20 4f 74 |ard incl|udes. Ot|
|00000120| 68 65 72 77 69 73 65 2c | 20 70 72 65 63 6f 6d 70 |herwise,| precomp|
|00000130| 69 6c 65 64 20 68 65 61 | 64 65 72 73 0d 2f 2f 20 |iled hea|ders.// |
|00000140| 68 61 76 65 20 62 65 65 | 6e 20 6c 6f 61 64 65 64 |have bee|n loaded|
|00000150| 20 61 6c 72 65 61 64 79 | 2c 20 74 68 61 6e 6b 20 | already|, thank |
|00000160| 79 6f 75 20 76 65 72 79 | 20 6d 75 63 68 0d 23 69 |you very| much.#i|
|00000170| 66 6e 64 65 66 20 5f 5f | 54 59 50 45 53 5f 5f 0d |fndef __|TYPES__.|
|00000180| 09 23 69 6e 63 6c 75 64 | 65 20 3c 54 79 70 65 73 |.#includ|e <Types|
|00000190| 2e 68 3e 0d 09 23 69 6e | 63 6c 75 64 65 20 3c 41 |.h>..#in|clude <A|
|000001a0| 70 70 6c 65 45 76 65 6e | 74 73 2e 68 3e 0d 09 23 |ppleEven|ts.h>..#|
|000001b0| 69 6e 63 6c 75 64 65 20 | 3c 44 65 73 6b 2e 68 3e |include |<Desk.h>|
|000001c0| 0d 09 23 69 6e 63 6c 75 | 64 65 20 3c 44 69 61 6c |..#inclu|de <Dial|
|000001d0| 6f 67 73 2e 68 3e 0d 09 | 23 69 6e 63 6c 75 64 65 |ogs.h>..|#include|
|000001e0| 20 3c 45 64 69 74 69 6f | 6e 73 2e 68 3e 0d 09 23 | <Editio|ns.h>..#|
|000001f0| 69 6e 63 6c 75 64 65 20 | 3c 45 76 65 6e 74 73 2e |include |<Events.|
|00000200| 68 3e 0d 09 23 69 6e 63 | 6c 75 64 65 20 3c 46 6f |h>..#inc|lude <Fo|
|00000210| 6e 74 73 2e 68 3e 0d 09 | 23 69 6e 63 6c 75 64 65 |nts.h>..|#include|
|00000220| 20 3c 4d 65 6e 75 73 2e | 68 3e 0d 09 23 69 6e 63 | <Menus.|h>..#inc|
|00000230| 6c 75 64 65 20 3c 53 65 | 67 4c 6f 61 64 2e 68 3e |lude <Se|gLoad.h>|
|00000240| 0d 09 23 69 6e 63 6c 75 | 64 65 20 3c 54 65 78 74 |..#inclu|de <Text|
|00000250| 55 74 69 6c 73 2e 68 3e | 0d 09 23 69 6e 63 6c 75 |Utils.h>|..#inclu|
|00000260| 64 65 20 3c 54 6f 6f 6c | 55 74 69 6c 73 2e 68 3e |de <Tool|Utils.h>|
|00000270| 0d 09 23 69 6e 63 6c 75 | 64 65 20 3c 57 69 6e 64 |..#inclu|de <Wind|
|00000280| 6f 77 73 2e 68 3e 0d 23 | 65 6e 64 69 66 0d 0d 2f |ows.h>.#|endif../|
|00000290| 2f 20 4e 6f 74 20 69 6e | 20 4d 65 74 72 6f 77 65 |/ Not in| Metrowe|
|000002a0| 72 6b 73 20 64 65 66 61 | 75 6c 74 20 70 72 65 63 |rks defa|ult prec|
|000002b0| 6f 6d 70 69 6c 65 64 20 | 68 65 61 64 65 72 73 0d |ompiled |headers.|
|000002c0| 23 69 6e 63 6c 75 64 65 | 20 3c 47 65 73 74 61 6c |#include| <Gestal|
|000002d0| 74 45 71 75 2e 68 3e 0d | 0d 23 69 6e 63 6c 75 64 |tEqu.h>.|.#includ|
|000002e0| 65 20 22 46 6c 6f 61 74 | 65 72 53 61 6d 70 6c 65 |e "Float|erSample|
|000002f0| 2e 68 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 61 70 |.h".#inc|lude "ap|
|00000300| 70 6c 65 45 76 65 6e 74 | 48 61 6e 64 6c 65 72 73 |pleEvent|Handlers|
|00000310| 2e 68 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 65 76 |.h".#inc|lude "ev|
|00000320| 65 6e 74 48 61 6e 64 6c | 65 72 2e 68 22 0d 23 69 |entHandl|er.h".#i|
|00000330| 6e 63 6c 75 64 65 20 22 | 6d 65 6e 75 44 69 73 70 |nclude "|menuDisp|
|00000340| 61 74 63 68 2e 68 22 0d | 23 69 6e 63 6c 75 64 65 |atch.h".|#include|
|00000350| 20 22 74 72 61 70 41 76 | 61 69 6c 2e 68 22 0d 0d | "trapAv|ail.h"..|
|00000360| 2f 2a 09 50 72 69 76 61 | 74 65 20 72 6f 75 74 69 |/*.Priva|te routi|
|00000370| 6e 65 20 70 72 6f 74 6f | 74 79 70 65 73 20 2a 2f |ne proto|types */|
|00000380| 0d 0d 73 74 61 74 69 63 | 20 76 6f 69 64 20 49 6e |..static| void In|
|00000390| 69 74 53 74 75 66 66 28 | 76 6f 69 64 29 3b 0d 73 |itStuff(|void);.s|
|000003a0| 74 61 74 69 63 20 76 6f | 69 64 20 53 65 74 55 70 |tatic vo|id SetUp|
|000003b0| 4d 65 6e 75 73 28 76 6f | 69 64 29 3b 0d 73 74 61 |Menus(vo|id);.sta|
|000003c0| 74 69 63 20 76 6f 69 64 | 20 53 65 74 55 70 57 69 |tic void| SetUpWi|
|000003d0| 6e 64 6f 77 73 28 76 6f | 69 64 29 3b 0d 73 74 61 |ndows(vo|id);.sta|
|000003e0| 74 69 63 20 76 6f 69 64 | 20 53 65 74 75 70 52 65 |tic void| SetupRe|
|000003f0| 63 6f 72 64 69 6e 67 46 | 6c 6f 61 74 65 72 28 76 |cordingF|loater(v|
|00000400| 6f 69 64 29 3b 0d 73 74 | 61 74 69 63 20 76 6f 69 |oid);.st|atic voi|
|00000410| 64 20 53 65 74 75 70 54 | 6f 6f 6c 73 46 6c 6f 61 |d SetupT|oolsFloa|
|00000420| 74 65 72 28 76 6f 69 64 | 29 3b 0d 73 74 61 74 69 |ter(void|);.stati|
|00000430| 63 20 76 6f 69 64 20 53 | 65 74 75 70 54 65 73 74 |c void S|etupTest|
|00000440| 57 69 6e 64 6f 77 73 28 | 76 6f 69 64 29 3b 0d 73 |Windows(|void);.s|
|00000450| 74 61 74 69 63 20 76 6f | 69 64 20 53 65 74 55 70 |tatic vo|id SetUp|
|00000460| 4c 69 6d 69 74 73 28 76 | 6f 69 64 29 3b 0d 73 74 |Limits(v|oid);.st|
|00000470| 61 74 69 63 20 76 6f 69 | 64 20 53 65 74 55 70 41 |atic voi|d SetUpA|
|00000480| 70 70 6c 65 45 76 65 6e | 74 73 28 76 6f 69 64 29 |ppleEven|ts(void)|
|00000490| 3b 0d 0d 2f 2a 09 47 6c | 6f 62 61 6c 20 76 61 72 |;../*.Gl|obal var|
|000004a0| 69 61 62 6c 65 73 09 2a | 2f 0d 0d 42 6f 6f 6c 65 |iables.*|/..Boole|
|000004b0| 61 6e 09 09 67 44 6f 6e | 65 3b 09 09 09 09 09 09 |an..gDon|e;......|
|000004c0| 2f 2a 20 53 65 74 20 74 | 6f 20 74 72 75 65 20 69 |/* Set t|o true i|
|000004d0| 66 20 75 73 65 72 20 73 | 65 6c 65 63 74 73 20 51 |f user s|elects Q|
|000004e0| 75 69 74 20 2a 2f 0d 42 | 6f 6f 6c 65 61 6e 20 09 |uit */.B|oolean .|
|000004f0| 67 49 6e 42 61 63 6b 67 | 72 6f 75 6e 64 3b 09 09 |gInBackg|round;..|
|00000500| 09 09 2f 2a 20 53 65 74 | 20 74 6f 20 74 72 75 65 |../* Set| to true|
|00000510| 20 69 66 20 61 70 70 20 | 69 73 20 73 77 69 74 63 | if app |is switc|
|00000520| 68 65 64 20 69 6e 74 6f | 20 62 61 63 6b 67 72 6f |hed into| backgro|
|00000530| 75 6e 64 20 2a 2f 0d 73 | 68 6f 72 74 09 09 67 54 |und */.s|hort..gT|
|00000540| 69 6d 65 54 6f 44 69 61 | 6c 6f 67 44 69 73 6d 69 |imeToDia|logDismi|
|00000550| 73 73 61 6c 3b 0d 52 65 | 63 74 09 09 67 44 72 61 |ssal;.Re|ct..gDra|
|00000560| 67 41 72 65 61 3b 09 09 | 09 09 09 2f 2a 20 41 72 |gArea;..|.../* Ar|
|00000570| 65 61 20 69 6e 20 77 68 | 69 63 68 20 61 20 77 69 |ea in wh|ich a wi|
|00000580| 6e 64 6f 77 20 63 61 6e | 20 62 65 20 64 72 61 67 |ndow can| be drag|
|00000590| 67 65 64 20 2a 2f 0d 52 | 65 63 74 09 09 67 47 72 |ged */.R|ect..gGr|
|000005a0| 6f 77 42 6f 75 6e 64 73 | 3b 09 09 09 09 2f 2a 20 |owBounds|;..../* |
|000005b0| 4d 69 6e 20 61 6e 64 20 | 6d 61 78 69 6d 75 6d 20 |Min and |maximum |
|000005c0| 73 69 7a 65 20 61 20 77 | 69 6e 64 6f 77 20 63 61 |size a w|indow ca|
|000005d0| 6e 20 62 65 20 73 69 7a | 65 64 20 74 6f 20 2a 2f |n be siz|ed to */|
|000005e0| 0d 42 6f 6f 6c 65 61 6e | 09 09 67 4e 6f 74 69 66 |.Boolean|..gNotif|
|000005f0| 69 63 61 74 69 6f 6e 50 | 6f 73 74 65 64 20 3d 20 |icationP|osted = |
|00000600| 66 61 6c 73 65 3b 2f 2f | 20 54 72 75 65 20 69 66 |false;//| True if|
|00000610| 20 61 20 6e 6f 74 69 66 | 69 63 61 74 69 6f 6e 20 | a notif|ication |
|00000620| 77 61 73 20 70 6f 73 74 | 65 64 0d 4e 4d 52 65 63 |was post|ed.NMRec|
|00000630| 09 09 67 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 52 |..gNotif|icationR|
|00000640| 65 63 3b 09 09 09 2f 2f | 20 74 68 65 20 6e 6f 74 |ec;...//| the not|
|00000650| 69 66 69 63 61 74 69 6f | 6e 20 72 65 63 6f 72 64 |ificatio|n record|
|00000660| 0d 57 69 6e 64 6f 77 52 | 65 66 09 67 52 65 63 6f |.WindowR|ef.gReco|
|00000670| 72 64 69 6e 67 46 6c 6f | 61 74 65 72 3b 09 09 09 |rdingFlo|ater;...|
|00000680| 2f 2f 20 52 65 66 65 72 | 65 6e 63 65 20 74 6f 20 |// Refer|ence to |
|00000690| 72 65 63 6f 72 64 69 6e | 67 20 66 6c 6f 61 74 69 |recordin|g floati|
|000006a0| 6e 67 20 77 69 6e 64 6f | 77 0d 57 69 6e 64 6f 77 |ng windo|w.Window|
|000006b0| 52 65 66 09 67 54 6f 6f | 6c 73 46 6c 6f 61 74 65 |Ref.gToo|lsFloate|
|000006c0| 72 3b 09 09 09 09 2f 2f | 20 52 65 66 65 72 65 6e |r;....//| Referen|
|000006d0| 63 65 20 74 6f 20 74 6f | 6f 6c 73 20 66 6c 6f 61 |ce to to|ols floa|
|000006e0| 74 69 6e 67 20 77 69 6e | 64 6f 77 0d 0d 2f 2f 20 |ting win|dow..// |
|000006f0| 55 50 50 73 0d 41 45 45 | 76 65 6e 74 48 61 6e 64 |UPPs.AEE|ventHand|
|00000700| 6c 65 72 55 50 50 09 67 | 4f 41 50 50 48 61 6e 64 |lerUPP.g|OAPPHand|
|00000710| 6c 65 72 55 50 50 2c 20 | 67 4f 44 4f 43 48 61 6e |lerUPP, |gODOCHan|
|00000720| 64 6c 65 72 55 50 50 2c | 20 67 50 44 4f 43 48 61 |dlerUPP,| gPDOCHa|
|00000730| 6e 64 6c 65 72 55 50 50 | 2c 20 67 51 55 49 54 48 |ndlerUPP|, gQUITH|
|00000740| 61 6e 64 6c 65 72 55 50 | 50 3b 0d 41 63 74 69 76 |andlerUP|P;.Activ|
|00000750| 61 74 65 48 61 6e 64 6c | 65 72 55 50 50 09 67 52 |ateHandl|erUPP.gR|
|00000760| 65 63 6f 72 64 69 6e 67 | 46 6c 6f 61 74 65 72 41 |ecording|FloaterA|
|00000770| 63 74 69 76 61 74 65 48 | 61 6e 64 6c 65 72 3b 20 |ctivateH|andler; |
|00000780| 2f 2f 20 54 68 65 20 55 | 50 50 73 20 66 6f 72 20 |// The U|PPs for |
|00000790| 6d 79 20 77 69 6e 64 6f | 77 73 0d 41 63 74 69 76 |my windo|ws.Activ|
|000007a0| 61 74 65 48 61 6e 64 6c | 65 72 55 50 50 09 67 54 |ateHandl|erUPP.gT|
|000007b0| 6f 6f 6c 73 46 6c 6f 61 | 74 65 72 41 63 74 69 76 |oolsFloa|terActiv|
|000007c0| 61 74 65 48 61 6e 64 6c | 65 72 3b 0d 41 63 74 69 |ateHandl|er;.Acti|
|000007d0| 76 61 74 65 48 61 6e 64 | 6c 65 72 55 50 50 09 67 |vateHand|lerUPP.g|
|000007e0| 41 63 74 69 76 61 74 65 | 45 76 65 6e 74 48 61 6e |Activate|EventHan|
|000007f0| 64 6c 65 72 3b 0d 0d 41 | 63 74 69 76 61 74 65 48 |dler;..A|ctivateH|
|00000800| 61 6e 64 6c 65 72 55 50 | 50 09 67 54 65 73 74 41 |andlerUP|P.gTestA|
|00000810| 63 74 69 76 61 74 65 45 | 76 65 6e 74 48 61 6e 64 |ctivateE|ventHand|
|00000820| 6c 65 72 3b 0d 0d 0d 76 | 6f 69 64 20 6d 61 69 6e |ler;...v|oid main|
|00000830| 28 29 0d 7b 0d 09 4d 61 | 78 41 70 70 6c 5a 6f 6e |().{..Ma|xApplZon|
|00000840| 65 28 29 3b 0d 0d 09 49 | 6e 69 74 53 74 75 66 66 |e();...I|nitStuff|
|00000850| 28 29 3b 0d 09 45 76 65 | 6e 74 4c 6f 6f 70 28 29 |();..Eve|ntLoop()|
|00000860| 3b 0d 7d 0d 0d 76 6f 69 | 64 20 49 6e 69 74 53 74 |;.}..voi|d InitSt|
|00000870| 75 66 66 28 29 0d 7b 0d | 09 45 76 65 6e 74 52 65 |uff().{.|.EventRe|
|00000880| 63 6f 72 64 09 66 69 72 | 73 74 45 76 65 6e 74 3b |cord.fir|stEvent;|
|00000890| 0d 09 4f 53 45 72 72 09 | 09 67 65 73 74 61 6c 74 |..OSErr.|.gestalt|
|000008a0| 45 72 72 6f 72 3b 0d 09 | 6c 6f 6e 67 09 09 67 65 |Error;..|long..ge|
|000008b0| 73 74 61 6c 74 52 65 73 | 70 6f 6e 73 65 3b 0d 09 |staltRes|ponse;..|
|000008c0| 49 6e 69 74 47 72 61 66 | 28 28 50 74 72 29 20 26 |InitGraf|((Ptr) &|
|000008d0| 71 64 2e 74 68 65 50 6f | 72 74 29 3b 0d 09 49 6e |qd.thePo|rt);..In|
|000008e0| 69 74 46 6f 6e 74 73 28 | 29 3b 0d 09 49 6e 69 74 |itFonts(|);..Init|
|000008f0| 57 69 6e 64 6f 77 73 28 | 29 3b 0d 09 49 6e 69 74 |Windows(|);..Init|
|00000900| 4d 65 6e 75 73 28 29 3b | 0d 09 49 6e 69 74 44 69 |Menus();|..InitDi|
|00000910| 61 6c 6f 67 73 28 6e 69 | 6c 29 3b 0d 09 49 6e 69 |alogs(ni|l);..Ini|
|00000920| 74 43 75 72 73 6f 72 28 | 29 3b 0d 09 0d 09 69 66 |tCursor(|);....if|
|00000930| 20 28 21 54 72 61 70 41 | 76 61 69 6c 61 62 6c 65 | (!TrapA|vailable|
|00000940| 28 5f 47 65 73 74 61 6c | 74 29 29 09 09 09 09 09 |(_Gestal|t)).....|
|00000950| 09 09 09 09 09 09 2f 2a | 20 4c 6f 6f 6b 20 66 6f |....../*| Look fo|
|00000960| 72 20 5f 47 65 73 74 61 | 6c 74 20 2a 2f 0d 09 09 |r _Gesta|lt */...|
|00000970| 46 61 74 61 6c 45 72 72 | 6f 72 41 6c 65 72 74 28 |FatalErr|orAlert(|
|00000980| 6b 53 79 73 74 65 6d 56 | 65 72 73 69 6f 6e 54 6f |kSystemV|ersionTo|
|00000990| 6f 4f 6c 64 29 3b 0d 09 | 0d 09 57 61 69 74 4e 65 |oOld);..|..WaitNe|
|000009a0| 78 74 45 76 65 6e 74 28 | 65 76 65 72 79 45 76 65 |xtEvent(|everyEve|
|000009b0| 6e 74 2c 20 26 66 69 72 | 73 74 45 76 65 6e 74 2c |nt, &fir|stEvent,|
|000009c0| 20 36 30 2c 20 6e 69 6c | 29 3b 0d 09 46 6c 75 73 | 60, nil|);..Flus|
|000009d0| 68 45 76 65 6e 74 73 28 | 65 76 65 72 79 45 76 65 |hEvents(|everyEve|
|000009e0| 6e 74 2c 20 30 29 3b 0d | 09 0d 09 2f 2a 09 43 68 |nt, 0);.|.../*.Ch|
|000009f0| 65 63 6b 20 74 6f 20 73 | 65 65 20 69 66 20 63 65 |eck to s|ee if ce|
|00000a00| 72 74 61 69 6e 20 66 65 | 61 74 75 72 65 73 20 61 |rtain fe|atures a|
|00000a10| 72 65 20 69 6d 70 6c 65 | 6d 65 6e 74 65 64 20 2a |re imple|mented *|
|00000a20| 2f 0d 09 0d 09 67 65 73 | 74 61 6c 74 45 72 72 6f |/....ges|taltErro|
|00000a30| 72 20 3d 20 47 65 73 74 | 61 6c 74 28 67 65 73 74 |r = Gest|alt(gest|
|00000a40| 61 6c 74 41 70 70 6c 65 | 45 76 65 6e 74 73 41 74 |altApple|EventsAt|
|00000a50| 74 72 2c 20 26 67 65 73 | 74 61 6c 74 52 65 73 70 |tr, &ges|taltResp|
|00000a60| 6f 6e 73 65 29 3b 09 09 | 2f 2a 20 43 68 65 63 6b |onse);..|/* Check|
|00000a70| 20 66 6f 72 20 41 70 70 | 6c 65 45 76 65 6e 74 73 | for App|leEvents|
|00000a80| aa 20 2a 2f 0d 09 69 66 | 20 28 21 67 65 73 74 61 |. */..if| (!gesta|
|00000a90| 6c 74 45 72 72 6f 72 29 | 0d 09 09 7b 0d 09 09 09 |ltError)|...{....|
|00000aa0| 69 66 20 28 28 67 65 73 | 74 61 6c 74 52 65 73 70 |if ((ges|taltResp|
|00000ab0| 6f 6e 73 65 20 26 20 28 | 31 20 3c 3c 20 67 65 73 |onse & (|1 << ges|
|00000ac0| 74 61 6c 74 41 70 70 6c | 65 45 76 65 6e 74 73 50 |taltAppl|eEventsP|
|00000ad0| 72 65 73 65 6e 74 29 29 | 20 3d 3d 20 30 29 0d 09 |resent))| == 0)..|
|00000ae0| 09 09 09 46 61 74 61 6c | 45 72 72 6f 72 41 6c 65 |...Fatal|ErrorAle|
|00000af0| 72 74 28 6b 4e 6f 41 70 | 70 6c 65 45 76 65 6e 74 |rt(kNoAp|pleEvent|
|00000b00| 73 29 3b 0d 09 09 7d 0d | 09 65 6c 73 65 0d 09 09 |s);...}.|.else...|
|00000b10| 46 61 74 61 6c 45 72 72 | 6f 72 41 6c 65 72 74 28 |FatalErr|orAlert(|
|00000b20| 6b 47 65 73 74 61 6c 74 | 45 72 72 6f 72 29 3b 0d |kGestalt|Error);.|
|00000b30| 09 0d 09 67 65 73 74 61 | 6c 74 45 72 72 6f 72 20 |...gesta|ltError |
|00000b40| 3d 20 47 65 73 74 61 6c | 74 28 67 65 73 74 61 6c |= Gestal|t(gestal|
|00000b50| 74 50 50 43 54 6f 6f 6c | 62 6f 78 41 74 74 72 2c |tPPCTool|boxAttr,|
|00000b60| 20 26 67 65 73 74 61 6c | 74 52 65 73 70 6f 6e 73 | &gestal|tRespons|
|00000b70| 65 29 3b 09 09 2f 2a 20 | 43 68 65 63 6b 20 66 6f |e);../* |Check fo|
|00000b80| 72 20 50 50 43 20 54 6f | 6f 6c 62 6f 78 20 2a 2f |r PPC To|olbox */|
|00000b90| 0d 09 69 66 20 28 67 65 | 73 74 61 6c 74 45 72 72 |..if (ge|staltErr|
|00000ba0| 6f 72 29 0d 09 09 46 61 | 74 61 6c 45 72 72 6f 72 |or)...Fa|talError|
|00000bb0| 41 6c 65 72 74 28 6b 47 | 65 73 74 61 6c 74 45 72 |Alert(kG|estaltEr|
|00000bc0| 72 6f 72 29 3b 0d 09 0d | 09 53 65 74 55 70 4d 65 |ror);...|.SetUpMe|
|00000bd0| 6e 75 73 28 29 3b 0d 09 | 53 65 74 55 70 57 69 6e |nus();..|SetUpWin|
|00000be0| 64 6f 77 73 28 29 3b 0d | 09 53 65 74 55 70 4c 69 |dows();.|.SetUpLi|
|00000bf0| 6d 69 74 73 28 29 3b 0d | 09 53 65 74 55 70 41 70 |mits();.|.SetUpAp|
|00000c00| 70 6c 65 45 76 65 6e 74 | 73 28 29 3b 0d 7d 0d 0d |pleEvent|s();.}..|
|00000c10| 0d 2f 2a 09 47 65 74 20 | 74 68 65 20 6d 65 6e 75 |./*.Get |the menu|
|00000c20| 20 62 61 72 20 66 72 6f | 6d 20 72 65 73 6f 75 72 | bar fro|m resour|
|00000c30| 63 65 20 66 6f 72 6b 2e | 20 20 46 69 6c 6c 20 f0 |ce fork.| Fill .|
|00000c40| 20 6d 65 6e 75 20 77 69 | 74 68 20 44 41 73 2e 20 | menu wi|th DAs. |
|00000c50| 20 44 72 61 77 20 69 74 | 20 2a 2f 0d 0d 76 6f 69 | Draw it| */..voi|
|00000c60| 64 20 53 65 74 55 70 4d | 65 6e 75 73 28 29 0d 7b |d SetUpM|enus().{|
|00000c70| 0d 09 48 61 6e 64 6c 65 | 09 74 68 65 4d 65 6e 75 |..Handle|.theMenu|
|00000c80| 3b 0d 09 0d 09 74 68 65 | 4d 65 6e 75 20 3d 20 47 |;....the|Menu = G|
|00000c90| 65 74 4e 65 77 4d 42 61 | 72 28 72 4d 62 61 72 49 |etNewMBa|r(rMbarI|
|00000ca0| 44 29 3b 0d 09 53 65 74 | 4d 65 6e 75 42 61 72 28 |D);..Set|MenuBar(|
|00000cb0| 74 68 65 4d 65 6e 75 29 | 3b 0d 09 44 69 73 70 6f |theMenu)|;..Dispo|
|00000cc0| 73 48 61 6e 64 6c 65 28 | 74 68 65 4d 65 6e 75 29 |sHandle(|theMenu)|
|00000cd0| 3b 0d 09 41 64 64 52 65 | 73 4d 65 6e 75 28 47 65 |;..AddRe|sMenu(Ge|
|00000ce0| 74 4d 48 61 6e 64 6c 65 | 28 72 41 70 70 6c 65 4d |tMHandle|(rAppleM|
|00000cf0| 65 6e 75 49 44 29 2c 27 | 44 52 56 52 27 29 3b 0d |enuID),'|DRVR');.|
|00000d00| 09 44 69 73 61 62 6c 65 | 49 74 65 6d 28 47 65 74 |.Disable|Item(Get|
|00000d10| 4d 48 61 6e 64 6c 65 28 | 72 45 64 69 74 4d 65 6e |MHandle(|rEditMen|
|00000d20| 75 49 44 29 2c 20 30 29 | 3b 0d 09 43 68 65 63 6b |uID), 0)|;..Check|
|00000d30| 49 74 65 6d 28 47 65 74 | 4d 48 61 6e 64 6c 65 28 |Item(Get|MHandle(|
|00000d40| 72 46 6c 6f 61 74 65 72 | 73 4d 65 6e 75 49 44 29 |rFloater|sMenuID)|
|00000d50| 2c 20 6b 52 65 63 6f 72 | 64 69 6e 67 49 74 65 6d |, kRecor|dingItem|
|00000d60| 2c 20 74 72 75 65 29 3b | 0d 09 43 68 65 63 6b 49 |, true);|..CheckI|
|00000d70| 74 65 6d 28 47 65 74 4d | 48 61 6e 64 6c 65 28 72 |tem(GetM|Handle(r|
|00000d80| 46 6c 6f 61 74 65 72 73 | 4d 65 6e 75 49 44 29 2c |Floaters|MenuID),|
|00000d90| 20 6b 54 6f 6f 6c 73 49 | 74 65 6d 2c 20 74 72 75 | kToolsI|tem, tru|
|00000da0| 65 29 3b 0d 09 0d 09 2f | 2f 20 46 6f 72 20 74 65 |e);..../|/ For te|
|00000db0| 73 74 69 6e 67 0d 09 69 | 66 28 42 75 74 74 6f 6e |sting..i|f(Button|
|00000dc0| 28 29 29 0d 09 7b 0d 09 | 09 4d 65 6e 75 48 61 6e |())..{..|.MenuHan|
|00000dd0| 64 6c 65 09 09 6d 68 6e | 64 6c 3b 0d 09 09 0d 09 |dle..mhn|dl;.....|
|00000de0| 09 2f 2f 20 20 41 64 64 | 20 74 68 65 20 22 54 65 |.// Add| the "Te|
|00000df0| 73 74 22 20 6d 65 6e 75 | 20 0d 09 09 6d 68 6e 64 |st" menu| ...mhnd|
|00000e00| 6c 20 3d 20 47 65 74 4d | 65 6e 75 28 31 33 32 29 |l = GetM|enu(132)|
|00000e10| 3b 0d 09 09 69 66 28 6d | 68 6e 64 6c 20 21 3d 20 |;...if(m|hndl != |
|00000e20| 6e 69 6c 29 0d 09 09 7b | 0d 09 09 09 28 2a 6d 68 |nil)...{|....(*mh|
|00000e30| 6e 64 6c 29 2d 3e 6d 65 | 6e 75 49 44 20 3d 20 31 |ndl)->me|nuID = 1|
|00000e40| 33 32 3b 0d 09 09 09 49 | 6e 73 65 72 74 4d 65 6e |32;....I|nsertMen|
|00000e50| 75 28 6d 68 6e 64 6c 2c | 20 30 29 3b 0d 09 09 7d |u(mhndl,| 0);...}|
|00000e60| 0d 09 7d 0d 09 0d 09 44 | 72 61 77 4d 65 6e 75 42 |..}....D|rawMenuB|
|00000e70| 61 72 28 29 3b 0d 7d 0d | 0d 2f 2a 0d 09 53 65 74 |ar();.}.|./*..Set|
|00000e80| 20 75 70 20 61 6e 79 20 | 77 69 6e 64 6f 77 73 20 | up any |windows |
|00000e90| 6e 65 65 64 65 64 20 62 | 79 20 74 68 65 20 61 70 |needed b|y the ap|
|00000ea0| 70 6c 69 63 61 74 69 6f | 6e 0d 2a 2f 0d 0d 76 6f |plicatio|n.*/..vo|
|00000eb0| 69 64 20 53 65 74 55 70 | 57 69 6e 64 6f 77 73 28 |id SetUp|Windows(|
|00000ec0| 29 0d 7b 0d 09 67 41 63 | 74 69 76 61 74 65 45 76 |).{..gAc|tivateEv|
|00000ed0| 65 6e 74 48 61 6e 64 6c | 65 72 20 3d 20 4e 65 77 |entHandl|er = New|
|00000ee0| 41 63 74 69 76 61 74 65 | 48 61 6e 64 6c 65 72 50 |Activate|HandlerP|
|00000ef0| 72 6f 63 28 28 50 72 6f | 63 50 74 72 29 41 63 74 |roc((Pro|cPtr)Act|
|00000f00| 69 76 61 74 65 45 76 65 | 6e 74 48 61 6e 64 6c 65 |ivateEve|ntHandle|
|00000f10| 72 29 3b 0d 0d 09 53 65 | 74 75 70 52 65 63 6f 72 |r);...Se|tupRecor|
|00000f20| 64 69 6e 67 46 6c 6f 61 | 74 65 72 28 29 3b 0d 09 |dingFloa|ter();..|
|00000f30| 53 65 74 75 70 54 6f 6f | 6c 73 46 6c 6f 61 74 65 |SetupToo|lsFloate|
|00000f40| 72 28 29 3b 0d 09 0d 09 | 2f 2f 20 68 6f 6c 64 20 |r();....|// hold |
|00000f50| 64 6f 77 6e 20 6d 6f 75 | 73 65 20 62 75 74 74 6f |down mou|se butto|
|00000f60| 6e 20 66 6f 72 20 74 65 | 73 74 20 6d 6f 64 65 0d |n for te|st mode.|
|00000f70| 09 69 66 28 42 75 74 74 | 6f 6e 28 29 29 0d 09 09 |.if(Butt|on())...|
|00000f80| 53 65 74 75 70 54 65 73 | 74 57 69 6e 64 6f 77 73 |SetupTes|tWindows|
|00000f90| 28 29 3b 0d 7d 0d 0d 76 | 6f 69 64 20 53 65 74 75 |();.}..v|oid Setu|
|00000fa0| 70 52 65 63 6f 72 64 69 | 6e 67 46 6c 6f 61 74 65 |pRecordi|ngFloate|
|00000fb0| 72 28 29 0d 7b 0d 09 52 | 65 63 74 09 09 74 68 65 |r().{..R|ect..the|
|00000fc0| 52 65 63 74 3b 0d 09 50 | 69 63 48 61 6e 64 6c 65 |Rect;..P|icHandle|
|00000fd0| 09 72 65 63 6f 72 64 69 | 6e 67 43 6f 6e 74 72 6f |.recordi|ngContro|
|00000fe0| 6c 73 50 69 63 74 75 72 | 65 3b 0d 09 4f 53 45 72 |lsPictur|e;..OSEr|
|00000ff0| 72 09 09 65 72 72 6f 72 | 3b 0d 09 0d 09 72 65 63 |r..error|;....rec|
|00001000| 6f 72 64 69 6e 67 43 6f | 6e 74 72 6f 6c 73 50 69 |ordingCo|ntrolsPi|
|00001010| 63 74 75 72 65 20 3d 20 | 28 50 69 63 48 61 6e 64 |cture = |(PicHand|
|00001020| 6c 65 29 20 47 65 74 50 | 69 63 74 75 72 65 28 31 |le) GetP|icture(1|
|00001030| 32 38 29 3b 0d 09 74 68 | 65 52 65 63 74 20 3d 20 |28);..th|eRect = |
|00001040| 28 2a 2a 72 65 63 6f 72 | 64 69 6e 67 43 6f 6e 74 |(**recor|dingCont|
|00001050| 72 6f 6c 73 50 69 63 74 | 75 72 65 29 2e 70 69 63 |rolsPict|ure).pic|
|00001060| 46 72 61 6d 65 3b 0d 09 | 4f 66 66 73 65 74 52 65 |Frame;..|OffsetRe|
|00001070| 63 74 28 26 74 68 65 52 | 65 63 74 2c 20 37 30 2c |ct(&theR|ect, 70,|
|00001080| 20 37 30 29 3b 0d 09 0d | 09 67 52 65 63 6f 72 64 | 70);...|.gRecord|
|00001090| 69 6e 67 46 6c 6f 61 74 | 65 72 41 63 74 69 76 61 |ingFloat|erActiva|
|000010a0| 74 65 48 61 6e 64 6c 65 | 72 20 3d 20 4e 65 77 41 |teHandle|r = NewA|
|000010b0| 63 74 69 76 61 74 65 48 | 61 6e 64 6c 65 72 50 72 |ctivateH|andlerPr|
|000010c0| 6f 63 28 28 50 72 6f 63 | 50 74 72 29 52 65 63 6f |oc((Proc|Ptr)Reco|
|000010d0| 72 64 69 6e 67 46 6c 6f | 61 74 65 72 41 63 74 69 |rdingFlo|aterActi|
|000010e0| 76 61 74 65 48 61 6e 64 | 6c 65 72 29 3b 0d 09 65 |vateHand|ler);..e|
|000010f0| 72 72 6f 72 20 3d 20 4e | 65 77 57 69 6e 64 6f 77 |rror = N|ewWindow|
|00001100| 52 65 66 65 72 65 6e 63 | 65 28 26 67 52 65 63 6f |Referenc|e(&gReco|
|00001110| 72 64 69 6e 67 46 6c 6f | 61 74 65 72 2c 20 26 74 |rdingFlo|ater, &t|
|00001120| 68 65 52 65 63 74 2c 20 | 22 5c 70 52 65 63 6f 72 |heRect, |"\pRecor|
|00001130| 64 22 2c 20 74 72 75 65 | 2c 20 0d 09 09 09 09 09 |d", true|, ......|
|00001140| 6b 48 61 73 50 61 6c 65 | 74 74 65 54 69 74 6c 65 |kHasPale|tteTitle|
|00001150| 62 61 72 4d 61 73 6b 2c | 20 28 57 69 6e 64 6f 77 |barMask,| (Window|
|00001160| 52 65 66 29 20 2d 31 2c | 20 30 2c 20 67 52 65 63 |Ref) -1,| 0, gRec|
|00001170| 6f 72 64 69 6e 67 46 6c | 6f 61 74 65 72 41 63 74 |ordingFl|oaterAct|
|00001180| 69 76 61 74 65 48 61 6e | 64 6c 65 72 29 3b 0d 09 |ivateHan|dler);..|
|00001190| 53 65 74 57 69 6e 64 6f | 77 50 69 63 28 20 67 52 |SetWindo|wPic( gR|
|000011a0| 65 63 6f 72 64 69 6e 67 | 46 6c 6f 61 74 65 72 2c |ecording|Floater,|
|000011b0| 20 72 65 63 6f 72 64 69 | 6e 67 43 6f 6e 74 72 6f | recordi|ngContro|
|000011c0| 6c 73 50 69 63 74 75 72 | 65 29 3b 0d 7d 0d 0d 76 |lsPictur|e);.}..v|
|000011d0| 6f 69 64 20 53 65 74 75 | 70 54 6f 6f 6c 73 46 6c |oid Setu|pToolsFl|
|000011e0| 6f 61 74 65 72 28 29 0d | 7b 0d 09 52 65 63 74 09 |oater().|{..Rect.|
|000011f0| 09 74 68 65 52 65 63 74 | 3b 0d 09 50 69 63 48 61 |.theRect|;..PicHa|
|00001200| 6e 64 6c 65 09 74 6f 6f | 6c 73 50 69 63 74 75 72 |ndle.too|lsPictur|
|00001210| 65 3b 0d 09 4f 53 45 72 | 72 09 09 65 72 72 6f 72 |e;..OSEr|r..error|
|00001220| 3b 0d 09 0d 09 74 6f 6f | 6c 73 50 69 63 74 75 72 |;....too|lsPictur|
|00001230| 65 20 3d 20 28 50 69 63 | 48 61 6e 64 6c 65 29 20 |e = (Pic|Handle) |
|00001240| 47 65 74 50 69 63 74 75 | 72 65 28 31 33 30 29 3b |GetPictu|re(130);|
|00001250| 0d 09 74 68 65 52 65 63 | 74 20 3d 20 28 2a 2a 74 |..theRec|t = (**t|
|00001260| 6f 6f 6c 73 50 69 63 74 | 75 72 65 29 2e 70 69 63 |oolsPict|ure).pic|
|00001270| 46 72 61 6d 65 3b 0d 09 | 4f 66 66 73 65 74 52 65 |Frame;..|OffsetRe|
|00001280| 63 74 28 26 74 68 65 52 | 65 63 74 2c 20 31 37 30 |ct(&theR|ect, 170|
|00001290| 2c 20 31 30 30 29 3b 0d | 09 0d 09 67 54 6f 6f 6c |, 100);.|...gTool|
|000012a0| 73 46 6c 6f 61 74 65 72 | 41 63 74 69 76 61 74 65 |sFloater|Activate|
|000012b0| 48 61 6e 64 6c 65 72 20 | 3d 20 4e 65 77 41 63 74 |Handler |= NewAct|
|000012c0| 69 76 61 74 65 48 61 6e | 64 6c 65 72 50 72 6f 63 |ivateHan|dlerProc|
|000012d0| 28 28 50 72 6f 63 50 74 | 72 29 54 6f 6f 6c 73 46 |((ProcPt|r)ToolsF|
|000012e0| 6c 6f 61 74 65 72 41 63 | 74 69 76 61 74 65 48 61 |loaterAc|tivateHa|
|000012f0| 6e 64 6c 65 72 29 3b 0d | 09 65 72 72 6f 72 20 3d |ndler);.|.error =|
|00001300| 20 4e 65 77 57 69 6e 64 | 6f 77 52 65 66 65 72 65 | NewWind|owRefere|
|00001310| 6e 63 65 28 26 67 54 6f | 6f 6c 73 46 6c 6f 61 74 |nce(&gTo|olsFloat|
|00001320| 65 72 2c 20 26 74 68 65 | 52 65 63 74 2c 20 22 5c |er, &the|Rect, "\|
|00001330| 70 54 6f 6f 6c 73 22 2c | 20 74 72 75 65 2c 0d 09 |pTools",| true,..|
|00001340| 09 09 09 09 6b 48 61 73 | 50 61 6c 65 74 74 65 54 |....kHas|PaletteT|
|00001350| 69 74 6c 65 62 61 72 4d | 61 73 6b 2c 20 28 57 69 |itlebarM|ask, (Wi|
|00001360| 6e 64 6f 77 52 65 66 29 | 20 2d 31 2c 20 30 2c 20 |ndowRef)| -1, 0, |
|00001370| 67 54 6f 6f 6c 73 46 6c | 6f 61 74 65 72 41 63 74 |gToolsFl|oaterAct|
|00001380| 69 76 61 74 65 48 61 6e | 64 6c 65 72 29 3b 0d 09 |ivateHan|dler);..|
|00001390| 53 65 74 57 69 6e 64 6f | 77 50 69 63 28 20 67 54 |SetWindo|wPic( gT|
|000013a0| 6f 6f 6c 73 46 6c 6f 61 | 74 65 72 2c 20 74 6f 6f |oolsFloa|ter, too|
|000013b0| 6c 73 50 69 63 74 75 72 | 65 29 3b 0d 7d 0d 0d 76 |lsPictur|e);.}..v|
|000013c0| 6f 69 64 20 53 65 74 75 | 70 54 65 73 74 57 69 6e |oid Setu|pTestWin|
|000013d0| 64 6f 77 73 28 29 0d 7b | 0d 09 52 65 63 74 09 09 |dows().{|..Rect..|
|000013e0| 74 68 65 52 65 63 74 3b | 0d 09 4f 53 45 72 72 09 |theRect;|..OSErr.|
|000013f0| 09 65 72 72 6f 72 3b 0d | 09 57 69 6e 64 6f 77 41 |.error;.|.WindowA|
|00001400| 74 74 72 69 62 75 74 65 | 73 09 61 74 74 72 69 62 |ttribute|s.attrib|
|00001410| 75 74 65 73 3b 0d 09 57 | 69 6e 64 6f 77 52 65 66 |utes;..W|indowRef|
|00001420| 09 77 69 6e 64 3b 0d 09 | 50 69 63 48 61 6e 64 6c |.wind;..|PicHandl|
|00001430| 65 09 70 69 63 74 3b 0d | 09 0d 09 2f 2f 20 46 69 |e.pict;.|...// Fi|
|00001440| 72 73 74 20 61 20 66 65 | 77 20 66 6c 6f 61 74 65 |rst a fe|w floate|
|00001450| 72 73 20 77 69 74 68 20 | 76 61 72 69 6f 75 73 20 |rs with |various |
|00001460| 76 61 72 69 61 74 69 6f | 6e 20 63 6f 64 65 73 0d |variatio|n codes.|
|00001470| 09 67 54 65 73 74 41 63 | 74 69 76 61 74 65 45 76 |.gTestAc|tivateEv|
|00001480| 65 6e 74 48 61 6e 64 6c | 65 72 20 3d 20 4e 65 77 |entHandl|er = New|
|00001490| 41 63 74 69 76 61 74 65 | 48 61 6e 64 6c 65 72 50 |Activate|HandlerP|
|000014a0| 72 6f 63 28 28 50 72 6f | 63 50 74 72 29 54 65 73 |roc((Pro|cPtr)Tes|
|000014b0| 74 46 6c 6f 61 74 65 72 | 41 63 74 69 76 61 74 65 |tFloater|Activate|
|000014c0| 48 61 6e 64 6c 65 72 29 | 3b 0d 09 0d 09 70 69 63 |Handler)|;....pic|
|000014d0| 74 20 3d 20 47 65 74 50 | 69 63 74 75 72 65 28 31 |t = GetP|icture(1|
|000014e0| 33 32 29 3b 0d 09 69 66 | 28 70 69 63 74 20 3d 3d |32);..if|(pict ==|
|000014f0| 20 6e 69 6c 29 0d 09 09 | 72 65 74 75 72 6e 3b 0d | nil)...|return;.|
|00001500| 09 0d 09 74 68 65 52 65 | 63 74 20 3d 20 28 2a 2a |...theRe|ct = (**|
|00001510| 70 69 63 74 29 2e 70 69 | 63 46 72 61 6d 65 3b 0d |pict).pi|cFrame;.|
|00001520| 09 52 65 6c 65 61 73 65 | 52 65 73 6f 75 72 63 65 |.Release|Resource|
|00001530| 28 28 48 61 6e 64 6c 65 | 29 70 69 63 74 29 3b 0d |((Handle|)pict);.|
|00001540| 09 70 69 63 74 20 3d 20 | 6e 69 6c 3b 0d 09 0d 09 |.pict = |nil;....|
|00001550| 4f 66 66 73 65 74 52 65 | 63 74 28 26 74 68 65 52 |OffsetRe|ct(&theR|
|00001560| 65 63 74 2c 20 32 30 30 | 2c 20 31 34 30 29 3b 0d |ect, 200|, 140);.|
|00001570| 09 0d 09 2f 2f 20 4d 61 | 6b 65 20 61 20 66 65 77 |...// Ma|ke a few|
|00001580| 20 66 6c 6f 61 74 65 72 | 73 20 77 69 74 68 20 64 | floater|s with d|
|00001590| 69 66 66 65 72 65 6e 74 | 20 61 74 74 72 69 62 75 |ifferent| attribu|
|000015a0| 74 65 73 0d 09 0d 09 2f | 2f 20 61 20 63 6c 6f 73 |tes..../|/ a clos|
|000015b0| 65 20 62 6f 78 0d 09 61 | 74 74 72 69 62 75 74 65 |e box..a|ttribute|
|000015c0| 73 20 3d 20 6b 48 61 73 | 50 61 6c 65 74 74 65 54 |s = kHas|PaletteT|
|000015d0| 69 74 6c 65 62 61 72 4d | 61 73 6b 20 2b 20 6b 48 |itlebarM|ask + kH|
|000015e0| 61 73 43 6c 6f 73 65 42 | 6f 78 4d 61 73 6b 3b 0d |asCloseB|oxMask;.|
|000015f0| 09 65 72 72 6f 72 20 3d | 20 4e 65 77 57 69 6e 64 |.error =| NewWind|
|00001600| 6f 77 52 65 66 65 72 65 | 6e 63 65 28 26 77 69 6e |owRefere|nce(&win|
|00001610| 64 2c 20 26 74 68 65 52 | 65 63 74 2c 20 22 5c 70 |d, &theR|ect, "\p|
|00001620| 59 61 77 6b 22 2c 20 74 | 72 75 65 2c 0d 09 09 09 |Yawk", t|rue,....|
|00001630| 09 09 61 74 74 72 69 62 | 75 74 65 73 2c 20 28 57 |..attrib|utes, (W|
|00001640| 69 6e 64 6f 77 52 65 66 | 29 20 2d 31 2c 20 30 2c |indowRef|) -1, 0,|
|00001650| 20 67 54 65 73 74 41 63 | 74 69 76 61 74 65 45 76 | gTestAc|tivateEv|
|00001660| 65 6e 74 48 61 6e 64 6c | 65 72 29 3b 0d 09 0d 09 |entHandl|er);....|
|00001670| 2f 2f 20 61 64 64 20 61 | 20 7a 6f 6f 6d 20 62 6f |// add a| zoom bo|
|00001680| 78 0d 09 61 74 74 72 69 | 62 75 74 65 73 20 2b 3d |x..attri|butes +=|
|00001690| 20 6b 48 61 73 5a 6f 6f | 6d 42 6f 78 4d 61 73 6b | kHasZoo|mBoxMask|
|000016a0| 3b 0d 09 4f 66 66 73 65 | 74 52 65 63 74 28 26 74 |;..Offse|tRect(&t|
|000016b0| 68 65 52 65 63 74 2c 20 | 32 30 2c 20 32 30 29 3b |heRect, |20, 20);|
|000016c0| 0d 09 65 72 72 6f 72 20 | 3d 20 4e 65 77 57 69 6e |..error |= NewWin|
|000016d0| 64 6f 77 52 65 66 65 72 | 65 6e 63 65 28 26 77 69 |dowRefer|ence(&wi|
|000016e0| 6e 64 2c 20 26 74 68 65 | 52 65 63 74 2c 20 22 5c |nd, &the|Rect, "\|
|000016f0| 70 48 69 62 62 65 72 6c | 79 22 2c 20 74 72 75 65 |pHibberl|y", true|
|00001700| 2c 0d 09 09 09 09 09 61 | 74 74 72 69 62 75 74 65 |,......a|ttribute|
|00001710| 73 2c 20 28 57 69 6e 64 | 6f 77 52 65 66 29 20 2d |s, (Wind|owRef) -|
|00001720| 31 2c 20 30 2c 20 67 54 | 65 73 74 41 63 74 69 76 |1, 0, gT|estActiv|
|00001730| 61 74 65 45 76 65 6e 74 | 48 61 6e 64 6c 65 72 29 |ateEvent|Handler)|
|00001740| 3b 0d 0d 09 2f 2f 20 61 | 64 64 20 61 20 67 72 6f |;...// a|dd a gro|
|00001750| 77 20 62 6f 78 2c 20 6e | 6f 20 7a 6f 6f 6d 20 62 |w box, n|o zoom b|
|00001760| 6f 78 2c 20 73 69 64 65 | 20 62 61 72 0d 09 61 74 |ox, side| bar..at|
|00001770| 74 72 69 62 75 74 65 73 | 20 3d 20 61 74 74 72 69 |tributes| = attri|
|00001780| 62 75 74 65 73 20 2b 20 | 6b 48 61 73 47 72 6f 77 |butes + |kHasGrow|
|00001790| 42 6f 78 4d 61 73 6b 20 | 2b 20 6b 48 61 73 53 69 |BoxMask |+ kHasSi|
|000017a0| 64 65 54 69 74 6c 65 42 | 61 72 4d 61 73 6b 20 2d |deTitleB|arMask -|
|000017b0| 20 6b 48 61 73 5a 6f 6f | 6d 42 6f 78 4d 61 73 6b | kHasZoo|mBoxMask|
|000017c0| 3b 0d 09 4f 66 66 73 65 | 74 52 65 63 74 28 26 74 |;..Offse|tRect(&t|
|000017d0| 68 65 52 65 63 74 2c 20 | 32 30 2c 20 32 30 29 3b |heRect, |20, 20);|
|000017e0| 0d 09 65 72 72 6f 72 20 | 3d 20 4e 65 77 57 69 6e |..error |= NewWin|
|000017f0| 64 6f 77 52 65 66 65 72 | 65 6e 63 65 28 26 77 69 |dowRefer|ence(&wi|
|00001800| 6e 64 2c 20 26 74 68 65 | 52 65 63 74 2c 20 22 5c |nd, &the|Rect, "\|
|00001810| 70 46 72 65 6e 61 6c 69 | 74 79 22 2c 20 74 72 75 |pFrenali|ty", tru|
|00001820| 65 2c 0d 09 09 09 09 09 | 61 74 74 72 69 62 75 74 |e,......|attribut|
|00001830| 65 73 2c 20 28 57 69 6e | 64 6f 77 52 65 66 29 20 |es, (Win|dowRef) |
|00001840| 2d 31 2c 20 30 2c 20 67 | 54 65 73 74 41 63 74 69 |-1, 0, g|TestActi|
|00001850| 76 61 74 65 45 76 65 6e | 74 48 61 6e 64 6c 65 72 |vateEven|tHandler|
|00001860| 29 3b 0d 09 0d 09 2f 2f | 20 4e 6f 77 20 73 6f 6d |);....//| Now som|
|00001870| 65 20 6f 64 64 20 64 6f | 63 20 77 69 6e 64 6f 77 |e odd do|c window|
|00001880| 73 0d 09 61 74 74 72 69 | 62 75 74 65 73 20 3d 20 |s..attri|butes = |
|00001890| 6b 48 61 73 52 6f 75 6e | 64 65 64 54 69 74 6c 65 |kHasRoun|dedTitle|
|000018a0| 62 61 72 4d 61 73 6b 20 | 2b 20 6b 48 61 73 43 6c |barMask |+ kHasCl|
|000018b0| 6f 73 65 42 6f 78 4d 61 | 73 6b 3b 0d 09 4f 66 66 |oseBoxMa|sk;..Off|
|000018c0| 73 65 74 52 65 63 74 28 | 26 74 68 65 52 65 63 74 |setRect(|&theRect|
|000018d0| 2c 20 2d 31 34 30 2c 20 | 2d 31 30 30 29 3b 0d 09 |, -140, |-100);..|
|000018e0| 74 68 65 52 65 63 74 2e | 72 69 67 68 74 20 2b 3d |theRect.|right +=|
|000018f0| 20 35 30 3b 0d 09 65 72 | 72 6f 72 20 3d 20 4e 65 | 50;..er|ror = Ne|
|00001900| 77 57 69 6e 64 6f 77 52 | 65 66 65 72 65 6e 63 65 |wWindowR|eference|
|00001910| 28 26 77 69 6e 64 2c 20 | 26 74 68 65 52 65 63 74 |(&wind, |&theRect|
|00001920| 2c 20 22 5c 70 50 69 66 | 66 6c 65 22 2c 20 74 72 |, "\pPif|fle", tr|
|00001930| 75 65 2c 0d 09 09 09 09 | 09 61 74 74 72 69 62 75 |ue,.....|.attribu|
|00001940| 74 65 73 2c 20 28 57 69 | 6e 64 6f 77 52 65 66 29 |tes, (Wi|ndowRef)|
|00001950| 20 2d 31 2c 20 30 2c 20 | 67 41 63 74 69 76 61 74 | -1, 0, |gActivat|
|00001960| 65 45 76 65 6e 74 48 61 | 6e 64 6c 65 72 29 3b 0d |eEventHa|ndler);.|
|00001970| 09 0d 09 61 74 74 72 69 | 62 75 74 65 73 20 3d 20 |...attri|butes = |
|00001980| 6b 48 61 73 52 6f 75 6e | 64 65 64 54 69 74 6c 65 |kHasRoun|dedTitle|
|00001990| 62 61 72 4d 61 73 6b 3b | 20 2f 2f 20 6e 6f 20 63 |barMask;| // no c|
|000019a0| 6c 6f 73 65 20 62 6f 78 | 0d 09 4f 66 66 73 65 74 |lose box|..Offset|
|000019b0| 52 65 63 74 28 26 74 68 | 65 52 65 63 74 2c 20 32 |Rect(&th|eRect, 2|
|000019c0| 30 2c 20 31 30 29 3b 0d | 09 74 68 65 52 65 63 74 |0, 10);.|.theRect|
|000019d0| 2e 72 69 67 68 74 20 2b | 3d 20 35 30 3b 0d 09 65 |.right +|= 50;..e|
|000019e0| 72 72 6f 72 20 3d 20 4e | 65 77 57 69 6e 64 6f 77 |rror = N|ewWindow|
|000019f0| 52 65 66 65 72 65 6e 63 | 65 28 26 77 69 6e 64 2c |Referenc|e(&wind,|
|00001a00| 20 26 74 68 65 52 65 63 | 74 2c 20 22 5c 70 57 69 | &theRec|t, "\pWi|
|00001a10| 66 66 6c 65 22 2c 20 74 | 72 75 65 2c 0d 09 09 09 |ffle", t|rue,....|
|00001a20| 09 09 61 74 74 72 69 62 | 75 74 65 73 2c 20 28 57 |..attrib|utes, (W|
|00001a30| 69 6e 64 6f 77 52 65 66 | 29 20 2d 31 2c 20 30 2c |indowRef|) -1, 0,|
|00001a40| 20 67 41 63 74 69 76 61 | 74 65 45 76 65 6e 74 48 | gActiva|teEventH|
|00001a50| 61 6e 64 6c 65 72 29 3b | 0d 09 0d 09 2f 2f 20 54 |andler);|....// T|
|00001a60| 72 79 20 63 72 65 61 74 | 69 6e 67 20 73 6f 6d 65 |ry creat|ing some|
|00001a70| 20 77 69 6e 64 6f 77 73 | 20 66 72 6f 6d 20 57 49 | windows| from WI|
|00001a80| 4e 44 20 72 65 73 6f 75 | 72 63 65 73 0d 09 65 72 |ND resou|rces..er|
|00001a90| 72 6f 72 20 3d 20 47 65 | 74 4e 65 77 57 69 6e 64 |ror = Ge|tNewWind|
|00001aa0| 6f 77 52 65 66 65 72 65 | 6e 63 65 28 26 77 69 6e |owRefere|nce(&win|
|00001ab0| 64 2c 20 31 32 39 2c 20 | 28 57 69 6e 64 6f 77 52 |d, 129, |(WindowR|
|00001ac0| 65 66 29 20 2d 31 2c 20 | 67 41 63 74 69 76 61 74 |ef) -1, |gActivat|
|00001ad0| 65 45 76 65 6e 74 48 61 | 6e 64 6c 65 72 29 3b 0d |eEventHa|ndler);.|
|00001ae0| 09 69 66 28 65 72 72 6f | 72 20 3d 3d 20 6e 6f 45 |.if(erro|r == noE|
|00001af0| 72 72 29 0d 09 09 53 68 | 6f 77 52 65 66 65 72 65 |rr)...Sh|owRefere|
|00001b00| 6e 63 65 64 57 69 6e 64 | 6f 77 28 77 69 6e 64 29 |ncedWind|ow(wind)|
|00001b10| 3b 0d 0d 09 65 72 72 6f | 72 20 3d 20 47 65 74 4e |;...erro|r = GetN|
|00001b20| 65 77 57 69 6e 64 6f 77 | 52 65 66 65 72 65 6e 63 |ewWindow|Referenc|
|00001b30| 65 28 26 77 69 6e 64 2c | 20 31 33 30 2c 20 28 57 |e(&wind,| 130, (W|
|00001b40| 69 6e 64 6f 77 52 65 66 | 29 20 2d 31 2c 20 67 41 |indowRef|) -1, gA|
|00001b50| 63 74 69 76 61 74 65 45 | 76 65 6e 74 48 61 6e 64 |ctivateE|ventHand|
|00001b60| 6c 65 72 29 3b 0d 09 69 | 66 28 65 72 72 6f 72 20 |ler);..i|f(error |
|00001b70| 3d 3d 20 6e 6f 45 72 72 | 29 0d 09 09 53 68 6f 77 |== noErr|)...Show|
|00001b80| 52 65 66 65 72 65 6e 63 | 65 64 57 69 6e 64 6f 77 |Referenc|edWindow|
|00001b90| 28 77 69 6e 64 29 3b 0d | 09 0d 09 2f 2f 20 61 20 |(wind);.|...// a |
|00001ba0| 66 6c 6f 61 74 65 72 0d | 09 65 72 72 6f 72 20 3d |floater.|.error =|
|00001bb0| 20 47 65 74 4e 65 77 57 | 69 6e 64 6f 77 52 65 66 | GetNewW|indowRef|
|00001bc0| 65 72 65 6e 63 65 28 26 | 77 69 6e 64 2c 20 31 33 |erence(&|wind, 13|
|00001bd0| 31 2c 20 28 57 69 6e 64 | 6f 77 52 65 66 29 20 2d |1, (Wind|owRef) -|
|00001be0| 31 2c 20 67 54 65 73 74 | 41 63 74 69 76 61 74 65 |1, gTest|Activate|
|00001bf0| 45 76 65 6e 74 48 61 6e | 64 6c 65 72 29 3b 0d 09 |EventHan|dler);..|
|00001c00| 69 66 28 65 72 72 6f 72 | 20 3d 3d 20 6e 6f 45 72 |if(error| == noEr|
|00001c10| 72 29 0d 09 09 53 68 6f | 77 52 65 66 65 72 65 6e |r)...Sho|wReferen|
|00001c20| 63 65 64 57 69 6e 64 6f | 77 28 77 69 6e 64 29 3b |cedWindo|w(wind);|
|00001c30| 0d 7d 0d 0d 2f 2a 0d 09 | 53 65 74 20 75 70 20 61 |.}../*..|Set up a|
|00001c40| 72 65 61 73 20 66 6f 72 | 20 74 68 65 20 73 63 72 |reas for| the scr|
|00001c50| 65 65 6e 20 69 6e 20 77 | 68 69 63 68 20 77 69 6e |een in w|hich win|
|00001c60| 64 6f 77 73 20 63 61 6e | 20 62 65 20 64 72 61 67 |dows can| be drag|
|00001c70| 67 65 64 20 61 6e 64 20 | 73 69 7a 65 64 2e 0d 2a |ged and |sized..*|
|00001c80| 2f 0d 0d 76 6f 69 64 20 | 53 65 74 55 70 4c 69 6d |/..void |SetUpLim|
|00001c90| 69 74 73 28 29 0d 7b 0d | 09 52 67 6e 48 61 6e 64 |its().{.|.RgnHand|
|00001ca0| 6c 65 09 64 65 73 6b 54 | 6f 70 3b 0d 09 0d 09 64 |le.deskT|op;....d|
|00001cb0| 65 73 6b 54 6f 70 20 3d | 20 47 65 74 47 72 61 79 |eskTop =| GetGray|
|00001cc0| 52 67 6e 28 29 3b 0d 09 | 67 44 72 61 67 41 72 65 |Rgn();..|gDragAre|
|00001cd0| 61 20 3d 20 28 2a 2a 64 | 65 73 6b 54 6f 70 29 2e |a = (**d|eskTop).|
|00001ce0| 72 67 6e 42 42 6f 78 3b | 0d 09 53 65 74 52 65 63 |rgnBBox;|..SetRec|
|00001cf0| 74 28 26 67 47 72 6f 77 | 42 6f 75 6e 64 73 2c 20 |t(&gGrow|Bounds, |
|00001d00| 34 38 2c 20 34 38 2c 0d | 09 09 09 28 28 67 44 72 |48, 48,.|...((gDr|
|00001d10| 61 67 41 72 65 61 2e 72 | 69 67 68 74 29 20 2d 20 |agArea.r|ight) - |
|00001d20| 28 67 44 72 61 67 41 72 | 65 61 2e 6c 65 66 74 29 |(gDragAr|ea.left)|
|00001d30| 29 2c 28 28 67 44 72 61 | 67 41 72 65 61 2e 62 6f |),((gDra|gArea.bo|
|00001d40| 74 74 6f 6d 29 20 2d 20 | 28 67 44 72 61 67 41 72 |ttom) - |(gDragAr|
|00001d50| 65 61 2e 74 6f 70 29 29 | 29 3b 0d 7d 0d 0d 2f 2a |ea.top))|);.}../*|
|00001d60| 09 53 65 74 20 75 70 20 | 74 68 65 20 41 70 70 6c |.Set up |the Appl|
|00001d70| 65 45 76 65 6e 74 20 64 | 69 73 70 61 74 63 68 20 |eEvent d|ispatch |
|00001d80| 74 61 62 6c 65 20 2a 2f | 0d 0d 76 6f 69 64 20 53 |table */|..void S|
|00001d90| 65 74 55 70 41 70 70 6c | 65 45 76 65 6e 74 73 28 |etUpAppl|eEvents(|
|00001da0| 29 0d 7b 0d 09 4f 53 45 | 72 72 09 69 6e 73 74 61 |).{..OSE|rr.insta|
|00001db0| 6c 6c 41 70 70 6c 65 45 | 76 65 6e 74 45 72 72 6f |llAppleE|ventErro|
|00001dc0| 72 3b 0d 09 0d 09 2f 2f | 20 49 6e 73 74 61 6c 6c |r;....//| Install|
|00001dd0| 20 74 68 65 20 72 65 71 | 75 69 72 65 64 20 41 70 | the req|uired Ap|
|00001de0| 70 6c 65 20 45 76 65 6e | 74 20 48 61 6e 64 6c 65 |ple Even|t Handle|
|00001df0| 72 73 0d 09 67 4f 41 50 | 50 48 61 6e 64 6c 65 72 |rs..gOAP|PHandler|
|00001e00| 55 50 50 20 3d 20 4e 65 | 77 41 45 45 76 65 6e 74 |UPP = Ne|wAEEvent|
|00001e10| 48 61 6e 64 6c 65 72 50 | 72 6f 63 28 4f 41 50 50 |HandlerP|roc(OAPP|
|00001e20| 48 61 6e 64 6c 65 72 29 | 3b 0d 09 67 4f 44 4f 43 |Handler)|;..gODOC|
|00001e30| 48 61 6e 64 6c 65 72 55 | 50 50 20 3d 20 4e 65 77 |HandlerU|PP = New|
|00001e40| 41 45 45 76 65 6e 74 48 | 61 6e 64 6c 65 72 50 72 |AEEventH|andlerPr|
|00001e50| 6f 63 28 4f 44 4f 43 48 | 61 6e 64 6c 65 72 29 3b |oc(ODOCH|andler);|
|00001e60| 0d 09 67 50 44 4f 43 48 | 61 6e 64 6c 65 72 55 50 |..gPDOCH|andlerUP|
|00001e70| 50 20 3d 20 4e 65 77 41 | 45 45 76 65 6e 74 48 61 |P = NewA|EEventHa|
|00001e80| 6e 64 6c 65 72 50 72 6f | 63 28 50 44 4f 43 48 61 |ndlerPro|c(PDOCHa|
|00001e90| 6e 64 6c 65 72 29 3b 0d | 09 67 51 55 49 54 48 61 |ndler);.|.gQUITHa|
|00001ea0| 6e 64 6c 65 72 55 50 50 | 20 3d 20 4e 65 77 41 45 |ndlerUPP| = NewAE|
|00001eb0| 45 76 65 6e 74 48 61 6e | 64 6c 65 72 50 72 6f 63 |EventHan|dlerProc|
|00001ec0| 28 51 55 49 54 48 61 6e | 64 6c 65 72 29 3b 0d 0d |(QUITHan|dler);..|
|00001ed0| 09 69 6e 73 74 61 6c 6c | 41 70 70 6c 65 45 76 65 |.install|AppleEve|
|00001ee0| 6e 74 45 72 72 6f 72 20 | 3d 20 41 45 49 6e 73 74 |ntError |= AEInst|
|00001ef0| 61 6c 6c 45 76 65 6e 74 | 48 61 6e 64 6c 65 72 28 |allEvent|Handler(|
|00001f00| 6b 43 6f 72 65 45 76 65 | 6e 74 43 6c 61 73 73 2c |kCoreEve|ntClass,|
|00001f10| 20 6b 41 45 4f 70 65 6e | 41 70 70 6c 69 63 61 74 | kAEOpen|Applicat|
|00001f20| 69 6f 6e 2c 20 67 4f 41 | 50 50 48 61 6e 64 6c 65 |ion, gOA|PPHandle|
|00001f30| 72 55 50 50 2c 20 30 2c | 20 66 61 6c 73 65 29 3b |rUPP, 0,| false);|
|00001f40| 0d 09 69 6e 73 74 61 6c | 6c 41 70 70 6c 65 45 76 |..instal|lAppleEv|
|00001f50| 65 6e 74 45 72 72 6f 72 | 20 2b 3d 20 41 45 49 6e |entError| += AEIn|
|00001f60| 73 74 61 6c 6c 45 76 65 | 6e 74 48 61 6e 64 6c 65 |stallEve|ntHandle|
|00001f70| 72 28 6b 43 6f 72 65 45 | 76 65 6e 74 43 6c 61 73 |r(kCoreE|ventClas|
|00001f80| 73 2c 20 6b 41 45 4f 70 | 65 6e 44 6f 63 75 6d 65 |s, kAEOp|enDocume|
|00001f90| 6e 74 73 2c 20 67 4f 44 | 4f 43 48 61 6e 64 6c 65 |nts, gOD|OCHandle|
|00001fa0| 72 55 50 50 2c 20 30 2c | 20 66 61 6c 73 65 29 3b |rUPP, 0,| false);|
|00001fb0| 0d 09 69 6e 73 74 61 6c | 6c 41 70 70 6c 65 45 76 |..instal|lAppleEv|
|00001fc0| 65 6e 74 45 72 72 6f 72 | 20 2b 3d 20 41 45 49 6e |entError| += AEIn|
|00001fd0| 73 74 61 6c 6c 45 76 65 | 6e 74 48 61 6e 64 6c 65 |stallEve|ntHandle|
|00001fe0| 72 28 6b 43 6f 72 65 45 | 76 65 6e 74 43 6c 61 73 |r(kCoreE|ventClas|
|00001ff0| 73 2c 20 6b 41 45 50 72 | 69 6e 74 44 6f 63 75 6d |s, kAEPr|intDocum|
|00002000| 65 6e 74 73 2c 20 67 50 | 44 4f 43 48 61 6e 64 6c |ents, gP|DOCHandl|
|00002010| 65 72 55 50 50 2c 20 30 | 2c 20 66 61 6c 73 65 29 |erUPP, 0|, false)|
|00002020| 3b 0d 09 69 6e 73 74 61 | 6c 6c 41 70 70 6c 65 45 |;..insta|llAppleE|
|00002030| 76 65 6e 74 45 72 72 6f | 72 20 2b 3d 20 41 45 49 |ventErro|r += AEI|
|00002040| 6e 73 74 61 6c 6c 45 76 | 65 6e 74 48 61 6e 64 6c |nstallEv|entHandl|
|00002050| 65 72 28 6b 43 6f 72 65 | 45 76 65 6e 74 43 6c 61 |er(kCore|EventCla|
|00002060| 73 73 2c 20 6b 41 45 51 | 75 69 74 41 70 70 6c 69 |ss, kAEQ|uitAppli|
|00002070| 63 61 74 69 6f 6e 2c 20 | 67 51 55 49 54 48 61 6e |cation, |gQUITHan|
|00002080| 64 6c 65 72 55 50 50 2c | 20 30 2c 20 66 61 6c 73 |dlerUPP,| 0, fals|
|00002090| 65 29 3b 0d 0d 09 69 66 | 20 28 69 6e 73 74 61 6c |e);...if| (instal|
|000020a0| 6c 41 70 70 6c 65 45 76 | 65 6e 74 45 72 72 6f 72 |lAppleEv|entError|
|000020b0| 29 0d 09 09 46 61 74 61 | 6c 45 72 72 6f 72 41 6c |)...Fata|lErrorAl|
|000020c0| 65 72 74 28 6b 41 45 49 | 6e 73 74 61 6c 6c 45 72 |ert(kAEI|nstallEr|
|000020d0| 72 6f 72 29 3b 0d 7d 0d | 00 00 00 00 00 00 00 00 |ror);.}.|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 01 00 00 00 01 76 | 00 00 00 76 00 00 00 52 |.......v|...v...R|
|00002110| 00 00 0e 1b 00 54 03 00 | 00 00 00 00 00 00 00 00 |.....T..|........|
|00002120| 00 00 0e 0c 05 54 6f 6f | 6c 73 00 00 00 00 00 00 |.....Too|ls......|
|00002130| 06 6d 61 69 6e 2e 63 b4 | 02 00 00 00 54 45 58 54 |.main.c.|....TEXT|
|00002140| 4d 4d 43 43 01 00 ff ff | ff ff 00 00 00 00 17 66 |MMCC....|.......f|
|00002150| 00 00 54 45 58 54 4d 4d | 43 43 01 00 ff ff ff ff |..TEXTMM|CC......|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 a1 ef 75 0e 00 00 | 20 58 00 00 01 c8 22 00 |....u...| X....".|
|00002180| 9f b9 93 40 9f b9 93 40 | 00 00 00 00 37 f4 00 00 |...@...@|....7...|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 28 7d 00 91 00 00 |........|..(}....|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 09 00 00 00 0e 1b |........|........|
|000021c0| 03 41 73 6d 02 00 00 00 | 4d 50 53 54 4d 50 53 20 |.Asm....|MPSTMPS |
|000021d0| 01 00 00 00 00 80 00 00 | 00 00 0e 48 00 00 00 00 |........|...H....|
|000021e0| 26 00 00 00 26 00 00 00 | 00 03 2e 0c 00 03 30 00 |&...&...|......0.|
|000021f0| 9f b9 93 40 9f b9 93 40 | 00 00 00 00 37 f4 00 00 |...@...@|....7...|
|00002200| 00 00 00 1e ff d9 02 e4 | 01 78 05 5c ff d9 02 e4 |........|.x.\....|
|00002210| 01 78 05 5c 00 00 00 59 | 00 00 00 00 00 00 00 00 |.x.\...Y|........|
|00002220| 00 00 00 00 00 48 00 0a | 43 6f 75 72 69 65 72 00 |.....H..|Courier.|
|00002230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002240| 00 00 00 00 00 00 00 00 | 00 03 00 04 00 3d 00 02 |........|.....=..|
|00002250| 01 d5 02 6a 00 3d 00 02 | 01 d5 02 6a ac 31 46 57 |...j.=..|...j.1FW|
|00002260| 00 00 15 bc 00 00 15 bc | 00 00 13 f0 01 00 00 00 |........|........|
|00002270| 00 04 00 01 00 01 00 00 | 01 00 00 00 01 76 00 00 |........|.....v..|
|00002280| 00 76 00 00 00 52 01 31 | 73 4c 28 66 00 00 00 1c |.v...R.1|sL(f....|
|00002290| 00 52 00 01 4d 50 53 52 | 00 01 00 12 4d 57 42 42 |.R..MPSR|....MWBB|
|000022a0| 00 00 00 2a 03 f0 ff ff | 00 00 00 00 00 00 00 00 |...*....|........|
|000022b0| 03 ed ff ff 00 00 00 22 | 00 00 00 00 03 f0 ff ff |......."|........|
|000022c0| 00 00 00 6e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...n....|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+